package org.jeecg.modules.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 公司钱包（质维码额度）
 * @Author: jeecg-boot
 * @Date: 2020-05-22
 * @Version: V1.0
 */
@Data
@TableName("xb_company_purse")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "xb_company_purse对象", description = "公司钱包（质维码额度）")
public class CompanyPurse {

    /**
     * 公司钱包
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "公司钱包")
    private java.lang.Integer id;
	@ApiModelProperty(value = "公司id")
	private java.lang.Integer companyId;
    /**
     * 质维码数量
     */
    @Excel(name = "质维码数量", width = 15)
    @ApiModelProperty(value = "质维额度")
    private java.lang.Integer qscQuota;
    @Excel(name = "质维码数量", width = 15)
    @ApiModelProperty(value = "质维额度优先扣除量")
    private java.lang.Integer qscQuotaLatest;
    @Excel(name = "质维码数量", width = 15)
    @ApiModelProperty(value = "已申请质维未用数量")
    private java.lang.Integer qscLeft;
    /**
     * 最近一次到期时间
     */
    @Excel(name = "最近一次到期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最近一次到期时间")
    private java.util.Date qscLatestTime;



}
